package com.zjitc.dao;

import com.github.pagehelper.PageInfo;
import com.zjitc.model.Category;
import com.zjitc.model.CategorySecond;
import com.zjitc.model.Evaluate;
import com.zjitc.model.Product;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/25 16:42
 * @description:
 */
public interface ProductDao {


  List<CategorySecond> findByCid(int cid);

  Product findProductById(int pid);

  List<Product> findAllProduct();

  List<Product> findPageByCid(int cid);

  List<Product> findPageByCsid( int csid);

  List<Product> findAllProductByPage();
}
